Example 2: Atomic

This example extends the last one by adding in Organisation details. This demonstrates how to load different record types within the same data file: in this case, both Person and Organisation records will be created using the same data file.

The fields loaded are:

Fields

Back-end name

First name NamFirst
Middle name NamMiddle
Last name NamLast
Party Type NamPartyType
Organisation NamOrganisation
Department NamDepartment
Street AddPhysStreet
City AddPhysCity
State AddPhysState
Country AddPhysCountry
Zip Code AddPhysPost

Tip: This example also demonstrates how to specify an ampersand character in XML.